package com.lala.commom.remote;

import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Taecher_topic;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface Taecher_topicRemote {
    //分页查询
    @RequestMapping("/selectTopic")
    PageInfo<Taecher_topic> selectTopic(@RequestParam("pageNum")int pageNum, @RequestParam("pageSize")int pageSize);

    /*(修改)审核是否通过 0通过*/
    @RequestMapping("/updateTopicTy")
    int updateTopicTy(@RequestParam("id")Integer id);

    /*(修改)审核是否通过 1未通过*/
    @RequestMapping("/updateTopicBty")
    int updateTopicBty(@RequestParam("id")Integer id);
}
